Builder
class Builder
Content copied to clipboard
Used to create a SyncConfiguration. For common use cases, a SyncConfiguration can be created using the SyncConfiguration.create function.
Constructors
Functions
build
Link copied to clipboard
errorHandler
Link copied to clipboard
fun errorHandler(errorHandler: SyncSession.ErrorHandler): SyncConfiguration.Builder
Content copied to clipboard
initialSubscriptions
Link copied to clipboard
fun initialSubscriptions(rerunOnOpen: Boolean = false, initialSubscriptionBlock: InitialSubscriptionsCallback): SyncConfiguration.Builder
Content copied to clipboard
log
Link copied to clipboard
open fun log(level: <ERROR CLASS> , customLoggers: List<<ERROR CLASS> >): SyncConfiguration.Builder
Content copied to clipboard
name
Link copied to clipboard
syncClientResetStrategy
Link copied to clipboard
fun syncClientResetStrategy(resetStrategy: SyncClientResetStrategy): SyncConfiguration.Builder
Content copied to clipboard
waitForInitialRemoteData
Link copied to clipboard
fun waitForInitialRemoteData(timeout: <ERROR CLASS> = Duration.INFINITE): SyncConfiguration.Builder
Content copied to clipboard